package com.erp.produce.dao;

import com.erp.produce.entity.Customer;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface CustomerDao extends JpaRepository<Customer,Long> {

    List<Customer> findAllByCustomerNameLike(String name, Pageable pageable);
}
